package com.zbf.lock;

import java.util.concurrent.locks.ReentrantLock;

/**
 * @author: LI-CI-GAO
 * 作者: licigao
 * 日期: 2021/8/17  15:45
 * 描述:
 */
public class TestLock {

    public static void main(String[] args) {

        ReentrantLock reentrantLock=new ReentrantLock();

        TestThread1 testThread1=new TestThread1(reentrantLock);
        TestThread1 testThread2=new TestThread1(reentrantLock);

        testThread1.start();
        testThread2.start();


    }

}
